
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:shared_preferences/shared_preferences.dart';

class JuBoToolManager{

   static void setLoginState (state) async {
      final prefs = await SharedPreferences.getInstance();
      // Try reading data from the counter key. If it does not exist, return 0.
      prefs.setBool('login', state);
    }

   static Future getLoginState() async {
     final prefs = await SharedPreferences.getInstance();
     // Try reading data from the counter key. If it does not exist, return 0.
     return prefs.getBool('login') ?? false;
   }

}

class JuBoClassicalHeader extends ClassicalHeader {


}
